package cn.pxs.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document("t_content")
public class Content {
    @Id
    private String id;
    private String body;

    @Override
    public String toString() {
        return "Content{" +
                "id='" + id + '\'' +
                ", body='" + body + '\'' +
                '}';
    }

    public String getId() {

        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
